<?php get_header(); ?>
	<div id="container">
		<div id="content">
 			<?php if ( have_posts() ) : ?>
				<h1 class="page-title"><?php _e( 'Search Results for: ', 'TecBridge' ); ?><span><?php the_search_query(); ?></span></h1>
				
				<?php content_nav('nav-above'); ?>                         

				<?php while ( have_posts() ) : the_post(); ?>

					<?php
						/* Include the Post-Format-specific template for the content.
						 * If you want to overload this in a child theme then include a file
						 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
						 */
						get_template_part( 'content', get_post_format() );
						echo 'post format '. get_post_format();
					?>

				<?php endwhile; ?>

				<?php content_nav('nav-below')?>          

			<?php else : ?>
				
				<div id="post-0" class="post no-results not-found">
					<h2 class="entry-title"><?php _e( 'Nothing Found', 'TecBridge' ) ?></h2>
					<div class="entry-content">
						<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'TecBridge' ); ?></p>
				    	<?php get_search_form(); ?>
				    </div><!-- .entry-content -->
				</div>

				<?php endif; ?>
 
		</div><!-- #content -->
	</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>